<%--
  Created by IntelliJ IDEA.
  User: Albert Lee
  Date: 2020/5/2
  Time: 11:33
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录页面</title>
</head>
<body>
<%
    if(null!=request.getAttribute("Ext")){
        out.print("<h3 style=' color: blue'>"+request.getAttribute("Ext")+"</h3>");
    }
%>
<h3>登录页面</h3>
    <form action="/LoginServlet" method="post">
        用户名：<input type="text" name="username"/><br>
        密  码：<input type="password" name="password"><br>
        <input type="submit" value="账户登录" name="login">
    </form>

    <hr>

    <form action="/LoginServlet" method="post">
        创建用户: <input type="text" name="username"/><br>
        <input type="submit" value="免账户登录" name="login">
    </form>

</body>
</html>
